package dept;

public class Datetime {
		private	int year;
		private int month;
		private int day;
		public Datetime(int year,int month,int day){
			this.year=year;
			this.month=month;
			this.day=day;
		}
		public Datetime(){
			
		}
		public int getYear(){
			return year;
		}
		public void setYear(){
			this.year=year;
		}
		public int getMonth(){
			return month;
		}
		public void setMonth(){
			this.month=month;
		}
		public int getDay(){
			return day;
		}
		public void setDay(){
			this .day=day;
		}
		public String toString(){
			return this.year+"-"+this.month+'-'+this.day;
		}

}
